<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="/webApp/head.jsp" %>
<body>

<header data-am-widget="header" class="am-header am-header-default joan-head2 ">
		
			<div class="am-header-left am-header-nav">
				<a href="javascript:history.back()" class="">
					<i class="am-icon-chevron-left"></i>
				</a>
			</div>
			<h1 class="am-header-title">
  	            <a href="" class="">定单中心</a>
            </h1>
            
      </div>
		</header>
		
		<c:forEach items="${orderInfo}" var="li">
	  
		
		${li.way}
		<div class="c-comment">
			<span class="c-comment-num">订单编号：${li.id}</span>
			<%-- <span class="c-comment-suc"><c:if test="${orderInfos.payStatus==2}">待付款</c:if><c:if test="${orderInfos.commStatus==1 and orderInfos.sendStatus==4}">待评价</c:if>
   	<c:if test="${orderInfos.sendStatus!=4 and orderInfos.sendStatus!=1 }">待收货</c:if>
   		<c:if test="${orderInfos.sendStatus==1 and orderInfos.payStatus!=2}">待发货</c:if></span> --%>
		</div>
	
		
		<div class="c-comment-list" style="border: 0;">

			<a class="o-con" href="/shoeHouse/home/ordercon?id=${li.id}" target="_self">
            	<div class="o-con-img"><img src="${li.commodityInfo.picture}"/></div>
                <div class="o-con-txt"><p>${li.commodityInfo.name }</p></div>
            	<div class="o-con-much"> </div>
            </a>
           
            <div class="c-com-money"> 实付金额：<span>￥ ${li.price }</span></div>
		</div>
	
	      <c:if test="${li.way=='未付款'}">
		<div class="c-com-btn">
			<a href="/shoeHouse/home/pay?id=${li.id}">立即支付</a>
		</div>
		</c:if>
	</c:forEach>




<%@include file="/webApp/bottom.jsp" %>

</body>
</html>